package com.fly.common.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @description 机器实体
 * @author: fly
 * @date: 2018/12/8 15:42
 */
@Data
@TableName(value = "machinery")
public class MachineryEntity {
    /**机器主键*/
    @TableId(value = "machinery_id")
    private Long machineryId;
    /**机器名称*/
    @TableField(value = "machinery_name")
    private String machineryName;
    /**生产厂家*/
    @TableField(value = "manufacturer_id")
    private String manufacturerId;
    /**出场日期*/
    @TableField(value = "date_manufacture")
    private Date dateManufacture;
    /**机器型号*/
    @TableField(value = "machine_model")
    private String machineModel;
    /**创建时间*/
    @TableField(value = "create_time")
    private Date createTime;
    /**更新时间 */
    @TableField(value = "update_time")
    private Date updateTime;
    /**数据状态：0-正常；1-删除*/
    @TableLogic(value = "is_delete")
    private Byte delete;
}
